<?php

namespace app\admin\model;

use think\Model;

/**
 * AdminGroup模型
 */
class TreeSituation extends Model
{
    protected $connection = 'demo';

    public function answer()
    {
        return $this->hasMany(TreeSituation::class, 'pts_parent_node','pts_rowguid');
    }

//    public function article()
//    {
//        return $this->belongsTo(TreeSituation::class);
//    }
}